package io.renren.modules.app.service.info.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.app.dao.UserJobStatusDao;
import io.renren.modules.app.entity.info.UserJobStatusEntity;
import io.renren.modules.app.service.info.UserJobStatusService;
import org.springframework.stereotype.Service;
import java.util.Map;


@Service("UserJobStatusService")
public class UserJobStatusServiceImpl extends ServiceImpl<UserJobStatusDao, UserJobStatusEntity> implements UserJobStatusService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UserJobStatusEntity> page = this.page(
                new Query<UserJobStatusEntity>().getPage(params),
                new QueryWrapper<UserJobStatusEntity>()
        );

        return new PageUtils(page);
    }

}